package Two;

import javax.swing.*;
import java.awt.*;

public class MyButton extends JButton {
    public MyButton(String info, int x, int y, Container co){
        this.setText(info);
        this.setBounds(x,y,100,30);
        co.add(this);
    }
}
